package com.web.util;

import com.google.gson.Gson;

/**
 *
 * @author 12270
 */
public class GsonUtil {
    
    private static Gson gson = new Gson();
    
    public static String javatoJson(Object object){
        return gson.toJson(object);
        
    }
    
}
